Why he went to Dhaka yesterday?
or Why he went to Dhaka?
which one correct
Both sentences are grammatically correct, but the choice between them depends on the context and what the speaker wants to convey. If they want to focus on the specific time of the trip, they would use the first sentence. If they are interested in the general reason for the trip, they would use the second sentence.